<template>
  <div :draggable='!inlineEditItemId' :class="[dragableCss, uiCss]" :style="uiStyle" :id="myId" :data-type="uiconfig.type"
       :data-pageid="pageid">
  </div>
</template>

<script lang="ts">
import Holder from '@/components/ui/js/Holder'
import { useStore } from 'vuex'

export default {
  name: 'Layui_Holder',
  props: {
    uiVersion: String,
    uiconfig: Object,
    isLock: Boolean,
    isReadonly: Boolean,
    pageid: String,
    dragableCss: Object
  },
  setup (props: any, context: any) {
    const container = new Holder(props, context, useStore())
    return {
      ...container.setup()
    }
  }
}

</script>
